package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.Users;
import com.tanhua.dubbo.server.vo.PageInfo;

import java.util.List;

/**
 * * @title: UsersApi
 *
 * @Author Philcan
 * @Date: 2021/8/15 20:08
 * @Version 1.0
 */
public interface UsersApi {
    String saveUsers(Long userId, Long friendId);

    Boolean removeUsers(Long userId, Long friendId);

    List<Users> queryAllUserList(Long userId);

    PageInfo<Users> queryUserList(Long userId, Integer page, Integer pageSize);
}
